Optimal. Leaf size=129 \[ \frac{\cos ^3(c+d x) (a+b \sin (c+d x))^{m+1} F_1\left (m+1;-\frac{3}{2},-\frac{3}{2};m+2;\frac{a+b \sin (c+d x)}{a-b},\frac{a+b \sin (c+d x)}{a+b}\right )}{b d (m+1) \left (1-\frac{a+b \sin (c+d x)}{a-b}\right )^{3/2} \left (1-\frac{a+b \sin (c+d x)}{a+b}\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0940427, antiderivative size = 129, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095, Rules used = {2704, 138} \[ \frac{\cos ^3(c+d x) (a+b \sin (c+d x))^{m+1} F_1\left (m+1;-\frac{3}{2},-\frac{3}{2};m+2;\frac{a+b \sin (c+d x)}{a-b},\frac{a+b \sin (c+d x)}{a+b}\right )}{b d (m+1) \left (1-\frac{a+b \sin (c+d x)}{a-b}\right )^{3/2} \left (1-\frac{a+b \sin (c+d x)}{a+b}\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2704
Rule 138
Rubi steps
\begin{align*} \int \cos ^4(c+d x) (a+b \sin (c+d x))^m \, dx &=\frac{\cos ^3(c+d x) \operatorname{Subst}\left (\int (a+b x)^m \left (-\frac{b}{a-b}-\frac{b x}{a-b}\right )^{3/2} \left (\frac{b}{a+b}-\frac{b x}{a+b}\right )^{3/2} \, dx,x,\sin (c+d x)\right )}{d \left (1-\frac{a+b \sin (c+d x)}{a-b}\right )^{3/2} \left (1-\frac{a+b \sin (c+d x)}{a+b}\right )^{3/2}}\\ &=\frac{F_1\left (1+m;-\frac{3}{2},-\frac{3}{2};2+m;\frac{a+b \sin (c+d x)}{a-b},\frac{a+b \sin (c+d x)}{a+b}\right ) \cos ^3(c+d x) (a+b \sin (c+d x))^{1+m}}{b d (1+m) \left (1-\frac{a+b \sin (c+d x)}{a-b}\right )^{3/2} \left (1-\frac{a+b \sin (c+d x)}{a+b}\right )^{3/2}}\\ \end{align*}
Mathematica [F] time = 4.11705, size = 0, normalized size = 0. \[ \int \cos ^4(c+d x) (a+b \sin (c+d x))^m \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.174, size = 0, normalized size = 0. \begin{align*} \int \left ( \cos \left ( dx+c \right ) \right ) ^{4} \left ( a+b\sin \left ( dx+c \right ) \right ) ^{m}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \sin \left (d x + c\right ) + a\right )}^{m} \cos \left (d x + c\right )^{4}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (b \sin \left (d x + c\right ) + a\right )}^{m} \cos \left (d x + c\right )^{4}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \sin \left (d x + c\right ) + a\right )}^{m} \cos \left (d x + c\right )^{4}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]